package com.macro.mall.service;


import java.util.List;

import com.macro.mall.dto.BmsMuseumParam;
import org.springframework.transaction.annotation.Transactional;

import com.macro.mall.dto.BmsMuseumDetail;
import com.macro.mall.model.BmsMuseum;
import com.macro.mall.query.BmsMuseumQuery;

public interface BmsMuseumService {

    /**
     * 分页获取文旅项目
     */
    List<BmsMuseum> getList(BmsMuseumQuery query);

    /**
     * 添加文旅项目
     */
    @Transactional
    int create(BmsMuseumParam bmsMuseumParam);

    /**
     * 修改文旅项目
     */
    int update(BmsMuseumParam bmsMuseumParam);

    /**
     * 获取单个文旅项目详情
     */
    BmsMuseumDetail getItem(Long id);

    /**
     * 批量删除文旅项目
     */
    @Transactional
    int delete(List<Long> ids);

    List<BmsMuseum> findAllList();

}
